<extend name="Layout/ins_page" />
<block name="content">
    <form action="/index.php?m=&c=report&a=newgfuploadexcel" method="post" enctype="multipart/form-data">

        <if condition="($importResult eq YES) ">
            <span class="alert-warning">上传成功</span>
            <else />
            <span class="alert-warning">上传失败</span>
        </if>

        <input class="btn btn-sm btn-info" type="file" name="import"/>
        <input type="hidden" name="table" value="tablename"/>
        <input class="btn btn-sm btn-info" type="submit" value="上传"/>
    </form>
</block>
<block name="js">
</block>